* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #000;
}

.container {
    width: 600px;
    height: 400px;
    border: 1px solid #fff;
    margin: 150px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timer-end-text {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin-top: -50px;
}

.wrapper {
    width: 490px;
    height: 160px;
    margin: 0 auto;
    display: flex;
}

.time-item {
    width: 65px;
    height: 120px;
    float: left;
    overflow: hidden;
    color: #fff;
    border: 1px solid #000;
}

.time-item ul{
    position: relative;
    top: 0; /* 添加初始位置 */
    margin: 0;
    padding: 0;
    list-style: none;
}

.time-text {
    color: #fff;
    line-height: 120px;

}

.number {
    width: 65px;
    height: 120px;
    background-color: #fff;
    color: #000;
    font-size: 24px;
    text-align: center;
    line-height: 120px;
}

.hour,
.minute,
.second {
    flex: 1;
}